<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .nav {
            width: 100%;
            height: 30px;
            
        }
        .nav>div {
            display: inline;
            padding: 10px;
            color:black;
            font-weight: 400;

        }
        .nav>div:hover {
            background-color: #a19a9a;
        }
    </style>
</head>
<body>
<div class="nav">
    <div>设为首页</div>
    <div>手机新浪网</div>
    <div>移动客户端</div>
    <div>博客</div>
    <div>微博</div>
    <div>关注我</div>
</div>
    
</body>
</html>